package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService {

    /**
     * 删除敏感词
     */
    public ResponseResult delSensitive(Integer id);

    /**
     * 查询敏感词
     * @param dto
     * @return
     */
    public ResponseResult findList( SensitiveDto dto);

    /**
     * 保存敏感词
     * @param dto
     * @return
     */
    public ResponseResult saveWmSensitive(WmSensitive dto);

    /**
     * 修改敏感词
     * @param dto
     * @return
     */
    public ResponseResult updateWmSensitive(WmSensitive dto);

}
